package com.kingyun.gpsinspection.purificationservice.dao.mapper.som;


import com.kingyun.gpsinspection.purificationservice.facade.model.som.FacadeEntityType;

import java.util.List;
import java.util.Map;

/**
 * 生产实体类型数据
 */
public interface FacadeEntityTypeMapper {

    /**
     * 获取修改信息
     * @param map
     * @return
     */
    int getChange(Map map);

    /**
     * 根据层级获取生产实体类型
     * @param orgId
     * @return
     */
    List<FacadeEntityType> getEntityTypesByCode(String orgId);

    /**
     * 获取子节点
     * @param entityTypeId
     * @return
     */
    List<FacadeEntityType> getChildren(String entityTypeId);
}